#include <myheader.h>

/* Usage:  */
int main(int argc, char *argv[]){                                  
    char*ip="116.162.172.51";        
    printf("ip: %s\n",ip);

    struct in_addr inp;
    inet_aton(ip,&inp);
    printf("ip:%d\n",inp.s_addr);

    char*chr=(char*)&inp.s_addr;
    printf("char:%c\n",*chr);
    
        
    return 0;
}

